* {
    margin: 0px;
    padding: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Playfair Display", system-ui, sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url(parakopfer.png);
    background-position: center;
    background-attachment: fixed;
    
    /*filter: blur(3px);*/
    
    
    background-size: cover;
    background-repeat: no-repeat;
    

}



/* navbar */

ul {
    height: 100%;
}

li {
    display: inline-block;
    width: auto;
    padding: 0px 10px;
    height: 100%;
    border-radius: 5px;
    
   

}


li a {
    
    display: inline-block;
    line-height: 50px;
    height: 100%;
    
}

li:hover {
    background-color: rgb(92, 197, 197);
}


nav {
    background-color: teal;
    height: 50px;
}

/* mainDivs */
#mainPage {
    display: block;
    height: 2000px;
    width: 100%;
    position: absolute;
    
}

#flexDiv {
    
    width: 100%;
    height: 2600px;
    display: flex;
    flex-direction: column;
    
    position: absolute;
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    
   
    
}



#div2 {
    
    width: 100%;
    height: 600px;
    display: block;
    top: 1200px;
    position: relative;
    overflow: hidden;
    
    
   
    
}

footer {
    position: absolute;
    height: 300px;
    width: 100%;
    top: 2600px;

    background-color: rgba(96, 96, 96, 0.8);
    border-top: 2px solid rgb(128, 128, 128);
    padding: 10px;
    color: rgb(224,224,224);
}




/* idk */




#main {
    height: 50vh;
    width: 100%;
    position: relative;
    container-type: inline-size;
    flex: 0 0 50vh;
    animation: leftSlide 0.5s ease forwards;

    
}





#about {
    display: inline-block;
    container-type: inline-size;
    
    
    
    text-align: center;
    margin: 0px 10%;
    border-radius: 10px;
    /*background-color: rgb(200, 200, 200);*/
    color: rgb(224,224,224);
    /*animation-name: abt;*/
    animation-duration: 1s;
    visibility: visible;
    /* background-image: linear-gradient(rgb(240, 222, 253),rgba(240, 222, 253, 0.321));  rgb(240, 222, 253)*/
    background-color: rgba(96, 96, 96, 0.8);
    border: 2px solid rgb(128, 128, 128);
    padding: 10px;
    animation: rightSlide 0.5s ease forwards;
    display: none;
}

#sayilar {
    
    display: inline-block;
    container-type: inline-size;
    width: 80%;
     position: relative;
    text-align: center;
    
    margin: 100px 0 10% 10%;
    flex: 0 0 500px;
    
   color: rgb(224,224,224);
   
    
    background-color: rgba(96, 96, 96, 0.8);
    border: 2px solid rgb(128, 128, 128);
    border-radius: 10px;

    animation: leftSlide 0.5s ease forwards;
     display: none;
    
    
   
    
}

#mission {
    background-color: rgba(96, 96, 96, 0.8);
    border: 2px solid rgb(128, 128, 128);
    border-radius: 10px;
    flex: 0 0 200px;
    width: 80%;
    margin: 100px 0 10% 10%;
    text-align: center;
    display: inline-block;
    container-type: inline-size;
    color: rgb(224,224,224);
    animation: rightSlide 0.5s ease forwards;
     display: none;

}

#form {
    background-color: rgba(96, 96, 96, 0.8);
    border: 2px solid rgb(128, 128, 128);
    border-radius: 10px;
    flex: 0 0 200px;
    width: 80%;
    margin: 100px 0 10% 10%;
    text-align: center;
    animation: leftSlide 0.5s ease forwards;
     display: none;

}

@keyframes rightSlide {
   from { transform: translateX(100%); opacity: 0;}
      to { transform: translateX(0); opacity: 1;}
}

@keyframes leftSlide {
   from { transform: translateX(-100%); opacity: 0;}
      to { transform: translateX(0); opacity: 1;}
}


#title {
    text-align: center;
    flex: 0 0 20%;
    color: white;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@container (min-width: 500px) {
    #title {
        font-size: 100px;
    }
}


#abouttitle {
    font-size: 40px;
    padding: 10px;
}



#abouttxt {
    
    margin: 10px 10px 30px;
    
    font-size: 20px;
}

@container (min-width: 500px) {
    #abouttxt {
    
        margin: 10px 80px 30px;
        
        font-size: 25px;
    }
}




#title2 {
    top: 10px;
    left: 50%;
    font-size: 30px;
    transform: translateX(-50%);
    position: absolute;
}

#coverMain {
    position: absolute;
    width: 20%;
    left: 40%;
    top: 50px;
    margin: 10px 0;
}

#title3 {
    top: 450px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;



}
/*  a */
a {
    text-decoration: none;
    

}

a:link {
    color: black;
}


a:visited {
    color: black;
}

#sayilar a {
   display: inline-block;
    height: 336.75px;
    
    margin: 10px;
    
    
}
#sayilar a img {
  
    padding: 10px 0px;
    height: 336.75px;
    width: 238.05px;
    transform: translateX(-50%);
    left: 50%;
    
}



#sayi {
    font-size: 40px;
    margin: 10px;
}

#form a {
    display: block;
    border-radius: 10px;
    border: 2px solid gray;
    background-color: darkgray;
    width: 40%;
    padding: 10px;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

#form a:hover {
    
    
    background-color: rgba(255, 255, 255, 0.2);
    
    box-shadow: 0 2px black;
}

#form h2 {
    color: white;
}

#mission {
    padding: 10px;
}
#mission p {
    text-align: left;
}
#mission h2 {
   margin-bottom: 10px;
}



